export class ResourceItemModel {
    Time: number
    FamerAmount: number
    constructor(opts: any = {}) {
        this.Time = opts.Time || 0
        this.FamerAmount = opts.FamerAmount || 0
    }
}

export class ResourceModel {
    Task: ResourceItemModel
    Explore: ResourceItemModel
    Cut: ResourceItemModel
    Mine: ResourceItemModel
    Collect: ResourceItemModel
    Gather: ResourceItemModel
    Treasure: ResourceItemModel
    Lucky: ResourceItemModel
    constructor(opts: any = {}) {
        this.Task = new ResourceItemModel(opts.Task)
        this.Explore = new ResourceItemModel(opts.Explore)
        this.Cut = new ResourceItemModel(opts.Cut)
        this.Mine = new ResourceItemModel(opts.Mine)
        this.Collect = new ResourceItemModel(opts.Collect)
        this.Gather = new ResourceItemModel(opts.Gather)
        this.Treasure = new ResourceItemModel(opts.Treasure)
        this.Lucky = new ResourceItemModel(opts.Lucky)
    }
}